package com.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.entity.WatchersEntity;
@Repository
public class WatchersDaoImpl extends GenericDaoImpl<WatchersEntity> implements
		WatchersDao {

	public WatchersEntity getWatchersById(Integer id) {
		return getById(WatchersEntity.class, id);
	}

	public List<WatchersEntity> getAllWatchers() {
		return getAll(WatchersEntity.class);
	}


}
